<template>
  <div class="mask"
       v-show="isShow">
    <div class="loading">
      <img src="../../assets/img/loading1.gif"
           alt="">
    </div>
  </div>
</template>

<script>
export default {
  data () {
    return {
      isShow: false
    }
  }

}
</script>

<style lang="scss" scoped>
.mask {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  .loading {
    width: 150px;
    height: 120px;
    border-radius: 27px;
    overflow: hidden;
    img {
      width: 100%;
      height: 100%;
    }
  }
}
</style>
